<?php /* Smarty version Smarty-3.1.8, created on 2014-06-02 17:18:50
         compiled from "C:\wamp\www\Auditorias\views\programa\editar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:198555384a9433336e5-05785998%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '64b23d0d18852a5acf5fce86d2930f47477799e5' => 
    array (
      0 => 'C:\\wamp\\www\\Auditorias\\views\\programa\\editar.tpl',
      1 => 1401729529,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '198555384a9433336e5-05785998',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5384a9436b9d39_28166506',
  'variables' => 
  array (
    'datos' => 0,
    'proceso' => 0,
    'disable' => 0,
    'option_id' => 0,
    'option_nombres' => 0,
    'auditar' => 0,
    'checklist_id' => 0,
    'checklist_name' => 0,
    'checklist' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5384a9436b9d39_28166506')) {function content_5384a9436b9d39_28166506($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include 'C:\\wamp\\www\\Auditorias\\libs\\Smarty\\libs\\plugins\\function.html_options.php';
if (!is_callable('smarty_function_html_checkboxes')) include 'C:\\wamp\\www\\Auditorias\\libs\\Smarty\\libs\\plugins\\function.html_checkboxes.php';
?><form id="form1" method="post" action="">
    <input type="hidden" name="guardar" value="1" />
    <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['datos']->value['id'];?>
" />
    <p>
        <span>Tipo Auditoria:</span> 
        <?php echo $_smarty_tpl->tpl_vars['proceso']->value['proc_nom'];?>

        <input type="hidden" name="auditoria" value="<?php echo $_smarty_tpl->tpl_vars['datos']->value['auditoria'];?>
" />
    </p>
    <p>
        <span>Auditor:</span>
        <?php if (Session::accessViewStrict(array('Lider'))){?>
            <?php $_smarty_tpl->tpl_vars['disable'] = new Smarty_variable('', null, 0);?>
        <?php }else{ ?>
            <?php $_smarty_tpl->tpl_vars['disable'] = new Smarty_variable("disabled=''", null, 0);?>
        <?php }?>
        <select name="auditor" <?php echo $_smarty_tpl->tpl_vars['disable']->value;?>
>
            <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['option_id']->value,'output'=>$_smarty_tpl->tpl_vars['option_nombres']->value,'selected'=>$_smarty_tpl->tpl_vars['datos']->value['auditor']),$_smarty_tpl);?>

        </select>
    </p>
    <p>
        <span>Fecha Programada:</span> 
        <input type="date" name="fecha_programacion" value="<?php echo $_smarty_tpl->tpl_vars['datos']->value['fecha_programacion'];?>
" />
    </p>
    <p>
        <span>Fecha Compromiso:</span> 
        <input type="date" name="fecha_compromiso" value="<?php echo $_smarty_tpl->tpl_vars['datos']->value['fecha_compromiso'];?>
" />
    </p>
    <p>
        <span>Auditar a:</span> 
        <?php echo $_smarty_tpl->tpl_vars['auditar']->value['area'];?>

        <input type="hidden" name="auditar" value="<?php echo $_smarty_tpl->tpl_vars['datos']->value['auditar'];?>
" /> 
        <input type="hidden" name="status" value="1" />
    </p>
    <p>
        <span>Proceso a Auditar:</span> 
        <div><?php echo smarty_function_html_checkboxes(array('name'=>"checklist",'values'=>$_smarty_tpl->tpl_vars['checklist_id']->value,'output'=>$_smarty_tpl->tpl_vars['checklist_name']->value,'separator'=>" | ",'selected'=>$_smarty_tpl->tpl_vars['checklist']->value,'label'=>true),$_smarty_tpl);?>
</div>
    </p>
    <p><input type="submit" class="button" value="Guardar" /></p>
</form><?php }} ?>